/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package putime.newspaperagent.line;
import java.sql.Date;
/**
 *
 * @author Khai
 */
public class Line {
       private int lineID;
    private String name;
    private String address;
    private String tel;
    private Date hireDate;

    public Line() {
    }

    public Line(int lineID, String name, String address, String tel, Date hireDate) {
        this.lineID = lineID;
        this.name = name;
        this.address = address;
        this.tel = tel;
        this.hireDate = hireDate;
    }

    public int getLineID() {
        return lineID;
    }

    public void setLineID(int lineID) {
        this.lineID = lineID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Date getHireDate() {
        return hireDate;
    }

    public void setHireDate(Date hireDate) {
        this.hireDate = hireDate;
    }
    
       @Override
    public String toString(){
           return String.valueOf(getLineID());
        
    }
}
